//基础应答结果的对象定义
class PageInfo {
  pageNumber: number = 1
  pageSize: number = 5
  total: number = 0
  pageCount: number = 0
}

class BaseResult{
  code:number=500
  success:boolean=false
  message:string=''
  token:string=''
}

class BaselistResult<T> extends BaseResult {
  page: PageInfo = new PageInfo()
  list: Array<T> = [];
}

export {PageInfo as PageInfo,BaselistResult as BaselistResult,BaseResult as BaseResult}